Automattic\WooCommerce\GoogleListingsAndAds\API\Google\Settings S

Total Complexity 49
Dependencies 15
Dependents 10
Total lines 403
Lines of code 197
Logical lines of code 97
Comment lines 143
Methods 24
Properties 1

Methods 24

Method Rating Maintainability Complexity Lines of code
get_store_address()
A
51 12 23
maybe_get_state_name()
S
62 4 11
generate_shipping_settings()
S
54 2 23
sync_taxes()
S
58 2 17
get_target_countries()
S
67 3 7
sync_shipping()
S
64 2 11
validate_address()
S
63 2 11
get_shipping_rates_collections_from_woocommerce()
S
62 2 11
should_sync_shipping()
S
70 2 5
get_settings()
S
75 2 4
should_sync_taxes()
S
70 2 6
get_shipping_times()
S
66 2 8
wc_address_errors()
S
60 1 13
get_settings_for_tracking()
S
62 1 11
get_store_state()
S
76 1 4
__construct()
S
81 1 3
get_store_country()
S
76 1 4
get_shopping_service()
S
80 1 3
get_account_id()
S
81 1 3
get_merchant_id()
S
80 1 3
get_shipping_rates_from_database()
S
76 1 4
get_taxes()
S
72 1 6
should_get_shipping_rates_from_woocommerce()
S
78 1 3
get_options_object()
S
80 1 3